﻿using LJX.SmartPark.Common.ResponseOutput;
using LJX.SmartPark.Domain.SysManage;
using LJX.SmartPark.Service.SysManage.Menu.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Service.SysManage.Menu
{
    public interface IMenuManageService : ITransientService
    {
        Task<Response<bool>> PutMenuManage(MenuManage input);
        Task<Response<List<MenuManage>>> GetMenuManageAsync();
        object GrtTreeMenuManage(int id = 0);

        /// <summary>
        /// 查询菜单信息
        /// </summary>
        /// <returns></returns>
        Task<Response<List<MenuManageDto>>> GetMenuManage();

        Task<Response<List<MenuManage>>> GetMenuManages();


        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Response<int>> AddMenuManageAsync(MenuManage input);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Response<int>> UpdateMenuManageAsync(MenuManage input);
    }
}
